package cn.trud._1add.response;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
@AllArgsConstructor
@Getter
@NoArgsConstructor
public enum StatusCode {
    NOT_LOGUN(1000,"未登录"),
    LOGIN_SUCCESS(1001,"登录成功"),
    PASSWORD_ERROR(1002,"密码错误"),
    USERNAME_ALREADY_EXISTS(1003,"用户名被占用"),
    OPERATUON_SUCCESS(2001,"操作成功"),
    OPERATION_FAILED(2002,"操作失败");

    private Integer code;
    private  String msg;
}
